package com.xh.bussiness.permission.bean.request;

import com.xh.core.bean.BaseRequestBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
@ApiModel(value = "RoleMenuRequest",description = "角色菜单保存对象")
public class RoleMenuRequest extends BaseRequestBean {

    @ApiModelProperty(value = "id",notes = "id",dataType = "String",required = false)
    private  String id;

    @ApiModelProperty(value = "roleId",notes = "角色id",required = true,dataType = "String")
    private  String roleId;

    @ApiModelProperty(value = "menuId",notes = "菜单id",required = true,dataType = "String")
    private List<String> menuIds;

    @ApiModelProperty(value = "functionCodes",notes = "功能编码集合",dataType = "String")
    private String functionCodes;
}
